package com.sq.universe.system.service;

import com.alibaba.fastjson.JSONObject;
import com.sq.universe.base.service.BaseService;
import com.sq.universe.system.entity.UserEntity;
import com.sq.universe.system.entity.UserRoleEntity;

import java.util.List;
import java.util.Map;


/**
* @author 孙乾 2020-07-08 23:36:45
*/
public interface SystemService extends BaseService<UserEntity> {

    /**
     * 获取服务IP
     * @param service
     * @return
     */
    public List<Map> getServiceIps(String service);


    /**
     * 查询所有服务
     * @return
     */
    public List<String> getServices();

    /**
     * 获取所有日志
     * @param data
     * @return
     */
    public List<Map<String,Object>> getLogs(JSONObject data);

}
